package cn.tmpan.entity;

import java.util.Date;

public class Swiper {
    private Integer id;

    private String img;

    private String content;

    private Integer type;

    private Date createTime;

    private Date updateTime;

    public Swiper(Integer id, String img, String content, Integer type, Date createTime, Date updateTime) {
        this.id = id;
        this.img = img;
        this.content = content;
        this.type = type;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Swiper() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img == null ? null : img.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}